import request from "../../utils/request";

// 查询全部订单
export function getOrderAll() {
    return request({
        url: '/order/orderBy/list',
        method: 'get'
    })
}

// 查询全部订单
export function getOrderByStatus(status) {
    return request({
        url: '/order/orderBy/status?='+status,
        method: 'get'
    })
}